<tr>
	<td><img src="{$WEB_APP.images_dir}bbl.gif" alt = ""></td>
	{if $WEB_APP.editform eq TRUE && $WEB_APP.list_actions_access}
		{if !isset($WEB_APP.hide_delete)}<td class="bottomborder"></td>{/if}
	{/if}
	{section name=foo start=0 loop=$columns_count step=1}
	<td class="bottomborder"></td>
	{/section}
	{if $WEB_APP.editform eq TRUE && isset($WEB_APP.row_actions) && $WEB_APP.row_actions_access}<td class="bottomborder"></td>{/if}
	<td><img src="{$WEB_APP.images_dir}bbr.gif" alt = ""></td>
</tr>
</table></div>

{if $WEB_APP.editform eq TRUE}
{if !isset($WEB_APP.hide_delete) && $WEB_APP.list_actions_access}<input type="checkbox" name="all_items" value="all" id='all_items' onclick="MarkAllRows('fieldsForm')">{$text.txt_check_all}&nbsp;<select name="list_action">{foreach from=$WEB_APP.list_actions|@array_sort:"title" item=action}{if in_array($action->name, $WEB_APP.actions)}<option value="{$action->name}">{$action->title}</option>{/if}{/foreach}</select>&nbsp;<input type="submit" class="submit" value="Ok"/>
</form>
{/if}


<table width=100% cellpadding=0 cellspacing=0>
	<tr>
		<td width="70%">{include file="paginator.tpl" paginator=$WEB_APP.paginator url="$WEB_APP.script_name"}</td>
		{if $WEB_APP.settings.show_items_per_page}<td width="30%">{include file = "count_paginator.tpl"}</td>{/if}
	</tr>
</table><br>
{/if}

